﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E57 RID: 3671
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueArcadeRestartScRsp : IMessage<RogueArcadeRestartScRsp>, IMessage, IEquatable<RogueArcadeRestartScRsp>, IDeepCloneable<RogueArcadeRestartScRsp>, IBufferMessage
	{
		// Token: 0x17002EAB RID: 11947
		// (get) Token: 0x0600A4DE RID: 42206 RVA: 0x001BC48F File Offset: 0x001BA68F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueArcadeRestartScRsp> Parser
		{
			get
			{
				return RogueArcadeRestartScRsp._parser;
			}
		}

		// Token: 0x17002EAC RID: 11948
		// (get) Token: 0x0600A4DF RID: 42207 RVA: 0x001BC496 File Offset: 0x001BA696
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueArcadeRestartScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002EAD RID: 11949
		// (get) Token: 0x0600A4E0 RID: 42208 RVA: 0x001BC4A8 File Offset: 0x001BA6A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueArcadeRestartScRsp.Descriptor;
			}
		}

		// Token: 0x0600A4E1 RID: 42209 RVA: 0x001BC4AF File Offset: 0x001BA6AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueArcadeRestartScRsp()
		{
		}

		// Token: 0x0600A4E2 RID: 42210 RVA: 0x001BC4B8 File Offset: 0x001BA6B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueArcadeRestartScRsp(RogueArcadeRestartScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.rogueTournCurSceneInfo_ = ((other.rogueTournCurSceneInfo_ != null) ? other.rogueTournCurSceneInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A4E3 RID: 42211 RVA: 0x001BC504 File Offset: 0x001BA704
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueArcadeRestartScRsp Clone()
		{
			return new RogueArcadeRestartScRsp(this);
		}

		// Token: 0x17002EAE RID: 11950
		// (get) Token: 0x0600A4E4 RID: 42212 RVA: 0x001BC50C File Offset: 0x001BA70C
		// (set) Token: 0x0600A4E5 RID: 42213 RVA: 0x001BC514 File Offset: 0x001BA714
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17002EAF RID: 11951
		// (get) Token: 0x0600A4E6 RID: 42214 RVA: 0x001BC51D File Offset: 0x001BA71D
		// (set) Token: 0x0600A4E7 RID: 42215 RVA: 0x001BC525 File Offset: 0x001BA725
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ABFBLEKMNME RogueTournCurSceneInfo
		{
			get
			{
				return this.rogueTournCurSceneInfo_;
			}
			set
			{
				this.rogueTournCurSceneInfo_ = value;
			}
		}

		// Token: 0x0600A4E8 RID: 42216 RVA: 0x001BC52E File Offset: 0x001BA72E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueArcadeRestartScRsp);
		}

		// Token: 0x0600A4E9 RID: 42217 RVA: 0x001BC53C File Offset: 0x001BA73C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueArcadeRestartScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.RogueTournCurSceneInfo, other.RogueTournCurSceneInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A4EA RID: 42218 RVA: 0x001BC58C File Offset: 0x001BA78C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num ^= this.RogueTournCurSceneInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A4EB RID: 42219 RVA: 0x001BC5E1 File Offset: 0x001BA7E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A4EC RID: 42220 RVA: 0x001BC5E9 File Offset: 0x001BA7E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A4ED RID: 42221 RVA: 0x001BC5F4 File Offset: 0x001BA7F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueTournCurSceneInfo_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.RogueTournCurSceneInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A4EE RID: 42222 RVA: 0x001BC650 File Offset: 0x001BA850
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurSceneInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A4EF RID: 42223 RVA: 0x001BC6A8 File Offset: 0x001BA8A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueArcadeRestartScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rogueTournCurSceneInfo_ != null)
			{
				if (this.rogueTournCurSceneInfo_ == null)
				{
					this.RogueTournCurSceneInfo = new ABFBLEKMNME();
				}
				this.RogueTournCurSceneInfo.MergeFrom(other.RogueTournCurSceneInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A4F0 RID: 42224 RVA: 0x001BC710 File Offset: 0x001BA910
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A4F1 RID: 42225 RVA: 0x001BC71C File Offset: 0x001BA91C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.rogueTournCurSceneInfo_ == null)
					{
						this.RogueTournCurSceneInfo = new ABFBLEKMNME();
					}
					input.ReadMessage(this.RogueTournCurSceneInfo);
				}
			}
		}

		// Token: 0x04004311 RID: 17169
		private static readonly MessageParser<RogueArcadeRestartScRsp> _parser = new MessageParser<RogueArcadeRestartScRsp>(() => new RogueArcadeRestartScRsp());

		// Token: 0x04004312 RID: 17170
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004313 RID: 17171
		public const int RetcodeFieldNumber = 14;

		// Token: 0x04004314 RID: 17172
		private uint retcode_;

		// Token: 0x04004315 RID: 17173
		public const int RogueTournCurSceneInfoFieldNumber = 3;

		// Token: 0x04004316 RID: 17174
		private ABFBLEKMNME rogueTournCurSceneInfo_;
	}
}
